package com.example.springboot_mybatis.mapper;


import com.example.springboot_mybatis.bean.Teacher;

import java.util.List;

public interface TeacherMapper {

    List<Teacher> selectTeacher();          //查询所有
    Teacher selectTeacherOne(String id);    //根据id查找
    void deleteTeacher(String id);          //根据id删除
    void editTeacher(String id,String name);   //根据id修改
    void addTeacher(String id,String name);       //增加
}


